package com.koron.order.repair.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.repair.bean.entity.RepairReadyPo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (RepairReady)表服务接口
 *
 * @author zhouj
 * @since 2021-09-14 14:12:51
 */
public interface RepairReadyService extends CommonService {

    int insert(SessionFactory factory, RepairReadyPo repairReady);

    int update(SessionFactory factory, RepairReadyPo repairReady);

    int deleteById(SessionFactory factory, String id);

    int deleteByOrderId(SessionFactory factory, String orderId);

    RepairReadyPo queryById(SessionFactory factory, String id);

    List<RepairReadyPo> queryList(SessionFactory factory, RepairReadyPo repairReady);

    List<RepairReadyPo> queryByOrderId(SessionFactory factory, String orderId);

    int insertBatch(SessionFactory factory, List<RepairReadyPo> repairReadyPoList);

    int updateBatch(SessionFactory factory, List<RepairReadyPo> repairReadyPoList);



}
